.TH std::bad_exception::bad_exception 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::bad_exception::bad_exception \- std::bad_exception::bad_exception

.SH Synopsis
   bad_exception() throw();                                 \fI(until C++11)\fP
   bad_exception() noexcept;                                \fI(since C++11)\fP
   bad_exception( const bad_exception& other )      \fB(1)\fP                   \fI(until C++11)\fP
   throw();                                             \fB(2)\fP
   bad_exception( const bad_exception& other )                            \fI(since C++11)\fP
   noexcept;

   Constructs new bad_exception object.

   1) Default constructor. what() returns an implementation-defined string.
   2) Copy constructor. Initializes the object with the contents of other.
   If *this and other both have dynamic type std::bad_exception then
   std::strcmp(what(), other.what()) == 0.
   \fI(since C++11)\fP

.SH Parameters

   other - bad_exception object to initialize with
